//
//  ILRenderProtocol.h
//  FfmpegSDK
//
//  Created by OrrHsiao on 2023/6/28.
//  渲染视图协议,主要是为了统一IMIGLView/MHGLView和ILEAGLView两个渲染视图的差异性

#ifndef ILRenderProtocol_h
#define ILRenderProtocol_h

#import "ILRendererConstants.h"

@protocol ILRenderProtocol <NSObject>

@required
- (void)enterForeground;
- (void)enterBackground;
@optional
- (void)enableLensCorrent;
- (void)disableLensCorrent;
- (void)setCorrectionRadius:(CGFloat)radius;
- (void)setWaterMarkOffsetX:(CGFloat)x;
- (void)setWaterMarkOffsetY:(CGFloat)y;
//设置水平2分屏
-(void)renderSplitHorizontalView:(RenderSplitMode)splitMode;

@end

#endif /* ILRenderProtocol_h */
